import 'package:flutter/material.dart';

class XJBottomBarItem extends BottomNavigationBarItem {
  XJBottomBarItem(String iconName, String title)
      : super(
          title: Text(title),
          icon: Text(
            iconName,
            style: TextStyle(
                fontFamily: 'MaterialIcons', fontSize: 32, color: Colors.grey),
          ),
          activeIcon: Text(
            iconName,
            style: TextStyle(
                fontFamily: 'MaterialIcons', fontSize: 32, color: Colors.red),
          ),
        );
}
